package com.lovefreedom.psi.bean;

import java.util.HashSet;
import java.util.Set;

public class User {
	private int id;
	private String name;
	private String password;
	private Set<UserPermission> userPermission = new HashSet<UserPermission>();
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Set<UserPermission> getUserPermission() {
		return userPermission;
	}
	public void setUserPermission(Set<UserPermission> userPermission) {
		this.userPermission = userPermission;
	}

}
